package com.taotao.feign;


import com.taotao.entity.MayiktIntegralInfo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author wangjin
 * @title: IntegralServiceFeign
 * @projectName sw-gateway
 * @description:
 * @date 2022/1/23 21:18
 */

@FeignClient("weixin")
public interface IntegralServiceFeign {
    @RequestMapping(value = "/mayiktIntegralInfo/addIntegral", method = RequestMethod.POST)
    ResponseEntity addIntegral(@RequestBody MayiktIntegralInfo integralDto);

    @RequestMapping(value = "/mayiktIntegralInfo/index", method = RequestMethod.POST)
    String index();
}

